<ul id="${id}" name="${id}">
    @for(item in list){
    <div style="display: inline-block;width: 400px">
        <a href='javascript:;' onclick='openChoiceCheckoutMethod("${item.id}")'>${item.checkoutMethod}</a>
    </div>
    @}
</ul>
@if(isNotEmpty(underline) && underline == 'true'){
<div class="hr-line-dashed"></div>
@}
<script>
    var customerId = document.getElementById("customerId").value;
    var reservationsId = document.getElementById("reservationsId").value;
    var refundId = document.getElementById("id").value;
    openChoiceCheckoutMethod = function (id) {
        var crri = customerId + "," + reservationsId + "," + refundId +  "," + id;
        var index = layer.open({
            type: 2,
            title: "输入退款金额",
            area: ['90%', '90%'], //宽高
            fix: true, //不固定
            maxmin: true,
            content: Feng.ctxPath + '/refund/getRefundMethod/' + crri
        });
        this.layerIndex = index;
    };
</script>
